package com.ypinkj.app.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author LF
 * @since 2020-10-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "UserApplyPosition对象", description = "")
public class UserApplyPosition implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "apply_id")
    @TableId(value = "apply_id", type = IdType.ID_WORKER_STR)
    private String applyId;

    @ApiModelProperty(value = "用户ID")
    @TableField("user_id")
    private String userId;

    @ApiModelProperty(value = "岗位id")
    @TableField("position_id")
    private String positionId;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "createTime", fill = FieldFill.INSERT)
    private Date createTime;


    @ApiModelProperty(value = "修改时间 /申请时间")
    @TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "是否申请/ 默认为0 取消为1")
    @TableField(value = "is_apply",fill = FieldFill.INSERT)
    private String isApply;

    @ApiModelProperty(value = "公司ID")
    @TableField("company_id")
    private String companyId;


    @ApiModelProperty(value = "是否下载  默认为0/已下载为1")
    @TableField(value = "is_download",fill = FieldFill.INSERT)
    private String isDownload;



    @ApiModelProperty(value = "附件ID")
    @TableField("attachment_id")
    private String attachmentId;

    @TableField(exist = false)
    private String resumeurl;

}
